package com.nais.mapper;

import com.nais.domain.EcCourse;
import com.nais.domain.EcCourseCriteria;
import com.nais.domain.EcCourseWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface EcCourseMapper {
    long countByExample(EcCourseCriteria example);

    int deleteByExample(EcCourseCriteria example);

    int deleteByPrimaryKey(Integer id);

    int insert(EcCourseWithBLOBs record);

    int insertSelective(EcCourseWithBLOBs record);

    List<EcCourseWithBLOBs> selectByExampleWithBLOBs(EcCourseCriteria example);

    List<EcCourse> selectByExample(EcCourseCriteria example);

    EcCourseWithBLOBs selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") EcCourseWithBLOBs record, @Param("example") EcCourseCriteria example);

    int updateByExampleWithBLOBs(@Param("record") EcCourseWithBLOBs record, @Param("example") EcCourseCriteria example);

    int updateByExample(@Param("record") EcCourse record, @Param("example") EcCourseCriteria example);

    int updateByPrimaryKeySelective(EcCourseWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(EcCourseWithBLOBs record);

    int updateByPrimaryKey(EcCourse record);
}